﻿using GalacticLib;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataSetLoaderApp
{
    class Program
    {




        static void Main(string[] args)
        {



            string path = System.Reflection.Assembly.GetEntryAssembly().CodeBase;

            string dir =  Path.GetDirectoryName(path);

            Uri u = new Uri(dir);

            Directory.SetCurrentDirectory(u.LocalPath);

            

            Console.WriteLine(Environment.CurrentDirectory);
            string cs = File.ReadAllLines("config.txt").First();
            DataSetLoader dls = new DataSetLoader(cs);
            dls.Run();

        }
    }
}
